Matplotlib is a data plotting library. Matplotlib is one of the most popular plotting libraries for Python. It gives almost every characteristic of a figure. It has the look and feel of MatLab. MatLab is another programming language with graphical plotting capabilities. It works very efficiently with Pandas and NumPy arrays.
If Anaconda is installed on the system, open terminal/Command Prompt and type~ conda install matplotlib
In case Anaconda is not installed on your system, open terminal/Command Prompt and type~ pip install matplotlib
\
Open Jupyter notebook.
Import pyplot, NumPy.
Create two NumPy arrays x and y.
Plot the values of x and y.
subplot(no of rows, no of columns, plot number)
Try yourself:
Line Styles : https://matplotlib.org/3.1.0/gallery/lines_bars_and_markers/linestyles.html
Marker: https://matplotlib.org/3.1.0/gallery/lines_bars_and_markers/marker_reference.html